package proiect.fis.persistence;

import java.util.List;
import javax.persistence.EntityManagerFactory;
import proiect.fis.commons.beans.Pachet;

/**
 *
 * @author Boogie
 */
public class PachetDao extends DaoImpl<Pachet, Long> {


    public PachetDao(EntityManagerFactory emf) {
        super(Pachet.class, emf);
    }

  
    @Override
    public List<Pachet> loadAll() {
        return em.createNamedQuery("Pachet.findAll").getResultList();
    }
}
